#pragma once
#include "Subject.h"

class Subject;

class Observer {
public:
	virtual ~Observer();
	virtual void Update(Subject* ChngSubject, const std::string& message)=0;
	virtual void setSubject(Subject *sbj)=0;
	virtual Subject * getSubject(Subject *sbj)=0;

protected:
	Observer();
	Subject* sbj;
};